from enum import StrEnum, IntEnum


class ResultDataTypeEnum(StrEnum):
    BILL_OF_LADING = "bill_of_lading"
    AIR_WAYBILL = "air_waybill"
    VOYAGE_ROUTE = "voyage_route"
    SHIP_SCHEDULE = "ship_schedule"

class TaskStatusEnum(IntEnum):
    INIT = 0                        # 未执行
    EXECUTING = 1                   # 执行中
    FINISH = 2                      # 完成
    ABNORMAL_DELAY = 3              # 异常延期
    FAILURE = 4                     # 失败